<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
            <el-form-item>
                <el-radio-group v-model="topRadio">
                    <el-radio-button label="0">全部</el-radio-button>
                    <el-radio-button label="1">昨日</el-radio-button>
                    <el-radio-button label="2">本周</el-radio-button>
                    <el-radio-button label="3">自定义</el-radio-button>
                </el-radio-group>
            </el-form-item>
            <el-form-item style="margin-right: 40px">
                <el-date-picker v-model="value1" type="daterange" range-separator="至" start-placeholder="开始日期"
                    end-placeholder="结束日期" :disabled="topRadio != 3">
                </el-date-picker>
            </el-form-item>
            <el-form-item label="招商经理" style="margin-right: 40px">
                <el-input />
            </el-form-item>
            <el-form-item style="margin-right: 40px">
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
            </el-form-item>
        </el-form>
        <el-table :data="tableData" style="width: 100%">
            <el-table-column prop="date" label="招商经理"  :align="tableAlign">
            </el-table-column>
            <el-table-column prop="name" label="跟进资源" :align="tableAlign">
            </el-table-column>
            <el-table-column prop="address" label="跟进项目" :align="tableAlign">
            </el-table-column>
            <el-table-column prop="address" label="跟进总数" :align="tableAlign">
            </el-table-column>
        </el-table>
        <pagination
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    </div>
</template>
<script>
export default {
    data() {
        return {
            tableAlign:'center',
            topRadio:'0',
            queryParams:{

            }
        }
    },
}
</script>
<style lang="scss" scoped>
.app-container {}
</style>